<!--
 * @Description: 
 * @Author: WYX
 * @Date: 2019-10-29 17:25:18
 * @LastEditTime: 2019-11-07 10:41:07
 * @LastEditors: WYX
 -->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>reactive</title>
</head>

<body>
    <!--引入打包好的global.js文件-->
    <div class="main">

    </div>
    <script src="../packages/vue/dist/vue.global.js"></script>
    <script>
      const { code } = Vue.compile(`<div v-text="text"></div>
        <div v-html="html"></div>
        <div v-cloak>test</div>
        <div style="color=red">red</div>
        <div :style="{color: 'green'}"></div>`)
    </script>
</body>

</html>